package com.fs.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;
import java.util.Date;

import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

/**
 * 系统日志
 */
@Data
@TableName("sys_log")
public class SysLogs implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 * 
	 */
	@TableId(type = IdType.AUTO)
	private Long id;
	/**
	 * 
	 */
	private String username;
	/**
	 * 
	 */
	private String operation;
	/**
	 * 
	 */
	private String method;
	/**
	 * 
	 */
	private String params;
	/**
	 * 
	 */
	private Long time;
	/**
	 * 
	 */
	private String ip;
	/**
	 * 
	 */
	@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	private Date created;

}
